﻿@model Janus.Mes.VO.SysConfigVO
@{
    Layout = null;
}

<form id="pagerForm" action="demo/database/dwzOrgLookup2.html">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="${model.numPerPage}" />
    <input type="hidden" name="orderField" value="${param.orderField}" />
    <input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>
<div class="pageHeader">
    <form rel="pagerForm" method="post" action="demo/database/dwzOrgLookup2.html" onsubmit="return dwzSearch(this, 'dialog');">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>工作中心名称:</label>
                    <input class="textInput" name="orgName" value="" type="text">
                </li>
                <li>
                    <label>工作中心编号:</label>
                    <input class="textInput" name="orgNum" value="" type="text">
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
                    <li><div class="button"><div class="buttonContent"><button type="button" multLookup="orgId" warn="请选择部门">选择带回</button></div></div></li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <table class="table" layoutH="118" targetType="dialog" width="100%">
        <thead>
            <tr>
                <th width="30"><input type="checkbox" class="checkboxCtrl" group="orgId" /></th>
                <th orderfield="orgName">工作中心编号</th>
                <th orderfield="orgNum">工作中心名称</th>
                @*<th orderfield="leader">部门经理</th>
                <th orderfield="creator">创建人</th>*@
            </tr>
        </thead>
        <tbody>
            <tr>
                <td><input type="checkbox" name="orgId" value="{id:'1', orgName:'技术部', orgNum:'1001'}" /></td>
                <td>1001</td>
                <td>东城1线</td>
            </tr>
            <tr>
                <td><input type="checkbox" name="orgId" value="{id:'2', orgName:'人事部', orgNum:'1002'}" /></td>
                <td>1002</td>
                <td>上角A区</td>
            </tr>
            <tr>
                <td><input type="checkbox" name="orgId" value="{id:'3', orgName:'销售部', orgNum:'1003'}" /></td>
                <td>1003</td>
                <td>上角D区</td>
            </tr>
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>每页</span>
            <select name="numPerPage" onchange="dwzPageBreak({targetType:dialog, numPerPage:'10'})">
                <option value="10" selected="selected">10</option>
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
            </select>
            <span>条，共2条</span>
        </div>
        <div class="pagination" targetType="dialog" totalCount="2" numPerPage="10" pageNumShown="1" currentPage="1"></div>
    </div>
</div>
